package org.dromara.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.dromara.system.domain.WbProvince;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 省份视图对象 wb_province
 *
 * @author Lion Li
 * @date 2024-04-12
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = WbProvince.class)
public class WbProvinceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 省份ID
     */
    @ExcelProperty(value = "省份ID")
    private Long  provinceId;


    private String  id;
    /**
     * 省份名称
     */
    @ExcelProperty(value = "省份名称")
    private String provinceName;

    private String name;


    /**
     * 城市列表
     */
    @ExcelProperty(value = "城市列表")
    private List<WbCitiesVo> children;
}
